package com.zqxq.lottery.service.user;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.zqxq.lottery.entity.bo.user.UserInfoCMSBO;
import com.zqxq.lottery.entity.po.user.UserInfoPO;
import com.zqxq.lottery.entity.vo.user.UserInfoCMSVO;
import com.zqxq.lottery.entity.vo.user.UserInfoVO;

import java.util.List;
import java.util.Map;


public interface IUserInfoService extends IService<UserInfoPO>{

    Page<UserInfoCMSVO> queryPageList(UserInfoCMSBO bo);
    List<UserInfoCMSVO> query(UserInfoCMSBO bo);
    UserInfoCMSVO getCmsVO(Long userId);
    UserInfoVO getVO(Long userId);
    UserInfoVO getUserByMobile(String mobile);
    Integer getUserInfoByMobile(String mobile);
    boolean saveUserInfo(UserInfoVO vo);
    void realAuth(UserInfoPO po);
    void updatePayPassword(Long userId, String payPassword);
    void addUserAgent(UserInfoPO userInfoPO,String agentId);
    void deleteUserAgent(Long userId,Integer status);
    void sendCoupons(String mobiles,Long couponId);
    void closureOrRelease(Long userId,Integer enabled);
    Map<String,Object> queryAgentDataById(String agentId, Integer timeType, String month, Integer pageNo, Integer pageSize);
    void updateUserInfo(Long userId, String headAddress,String nickName);
    Map<String,Object> taskCenter(Long userId);
    Map<String,Object> inviteUsersData(Long userId);

}
